package kr.hkit.powerjava.chapter23;

public class Buffer {
	private int data;
	
	public synchronized int get() {
		return data;
	}
	
	public synchronized void put(int data) {
		this.data = data;
	}
	
}
